﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)  
        {
            Console.WriteLine( "请输入第一个小数");
            double a =double.Parse( Console.ReadLine()); 
            Console.WriteLine("请输入第二个小数");
            double b = double.Parse(Console.ReadLine());  
                                   
            Compute cp = new Compute(a,b);  
            
            Console.WriteLine("和为:"+cp.num);  
            Console.WriteLine("差为："+cp.minus);
            Console.WriteLine("乘积为：" + cp.win);
            Console.WriteLine("商为：" + cp.won);
            Console.ReadKey(); 
        }
    }

    
}
